// app.js
App({
  onLaunch() {
      wx.getSystemInfo({
        success: e => {
          // console.log(e);
          // console.log(custom);
          this.globalData.screenHeight = e.screenHeight;
          this.globalData.StatusBar = e.statusBarHeight;
          let custom = wx.getMenuButtonBoundingClientRect();
          this.globalData.Custom = custom;  
          //
          this.globalData.CustomBar = custom.bottom + custom.top - e.statusBarHeight;
        }
      })
  },
  globalData: {
    userInfo: null,
    tabbarHeight:0
  }
})
